package main

import (
	"fmt"
	"github.com/kataras/iris/v12"
	"github.com/kataras/iris/v12/mvc"
	"gowork/checkWorkAttendance/controller"
	"gowork/checkWorkAttendance/utils"
)

func main()  {
	w := new(utils.Worker)
	for i:=1; i<=15; i++ {
		fmt.Println(w.GetId())
	}

	app := iris.New()
	mvc.New(app).Handle(new(controller.CheckWorkAttendanceController))

	fmt.Println("启动。。。。。。。")
	app.Run(iris.Addr(":8329"))
}
